﻿
using System;
using System.Collections.Generic;
using System.Text;
using WebApiV2.Data.Entity;
using WebApiV2.Domain.Enum;

namespace WebApiV2.Interface.Log
{
    public interface ILog
    {
        Logs GetLogById(int id);
        void Insert(Logs log);
        void Delete(Logs log);

        IEnumerable<Logs> MultiQuery(DateTime beginTime, DateTime endTime, LogsLevel logsLevel, int usersId = 0);

        //清除日志
        void Clear();
    }
}
